{include file='header.tpl'}
<div class="mtop"></div>
<div class="main">
    <div class="content">
    	{if $photo.photo_img}
	<div class="navigation">
	    <a href="{$conf.conf_url}">{t}strona główna{/t}</a> &raquo; {if $subpage} {$subpage} {/if}
	</div>
	<div class="phcontent">
	    <div class="date">
		<span class="day">{$photo.date_day}</span>
		<div class="month">{$photo.date_month}</div>
		<div class="year">{$photo.date_year}</div>
	    </div>
	    <h2>{$photo.photo_title}</h2>
	    <div class="morepage">
		<div class="container">
		<div class="phimg">
		    {$photo.photo_img}
		    {if $exif}
		    <div class="phexif">{$photo.photo_exif}</div>
		    {/if}
		    <div class="phinfo">{$photo.photo_desc}</div>
		</div>
		{if $photoinfo}
		<div class="photo-info">
		    {$photoinfo}
		</div>
		{/if}
		<div class="blockoptions">
		{if $exif}
		<div class="exif">exif</div>
		{/if}
		{if $photo.photo_desc}
		<div class="opis">{t}opis{/t}</div>
		{/if}
		<div class="blockstats">
		    {$photo.rating}
		    {$photo.oceny}
		    <div class="visit">{t}odsłon{/t}: {$photo.photo_visit}</div>
		</div>
		<div class="clr"></div>
			    </div>
	    </div>
	</div>
	{if $navi}{$navi}{/if}
    </div>

    {include file='comments.tpl'}
    {else}
    	<div class="entry">
	  {$linkback}
	</div>
    {/if}
</div>
<div class="sidebar">
  {include file='right.tpl'}
</div>
<div class="clr"></div>
</div>
{if $rating}{$rating}{/if}
  <div class="mbottom"></div>
{include file='footer.tpl'}